<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" href="../css/ui-box.css">
    <link rel="stylesheet" href="../css/ui-base.css">
    <link rel="stylesheet" href="../css/ui-color.css">
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/img.css">
    <link rel="stylesheet" href="../css/index.css">

	<script src="../js/core/zy_control.js"></script>
    <script src="../js/core/zy_click.js"></script>
    <script src="../js/core/appframework.js"></script>
    <script src="../js/slide.js"></script>
    <script src="../js/download.js"></script>
    <script src="../js/main.js"></script>
    <script src="../js/core.js"></script>
    <script src="../js/res.js"></script>
    <script src="../js/index.js"></script>
    <style>
        .switch { width: 0.5em; height: 0.5em; position: absolute; z-index:9999; border-radius: 0.5em; bottom:50%; margin-bottom:-0.3em;background-color:#fff;}
        .absolute_title_ctn { position:absolute; bottom:28%; left:0px; z-index: 1000;width: 100%;height: 1.7em; color:#fff; }
    </style>
</head>
<body class="ub ub-ver">
	<div id="content" class="ub-f1">
        <div id="headerBottom" class="ub uinn upperc510" style="z-index:9;">
            <div id="photo" class="ubw uw4 uh4 uc-ap50 ub-img1" ontouchstart="zy_touch()" onclick="Index.jump('set','设置');"></div>
            <div class="ub ub-ver umar-a ub-pc">
                <div id="name" class="ub ub-ac ut-s uf1p2"></div>
                <div id="phone" class="ub ub-ac ut-s ufp9 upt_p5"></div>
            </div>
        </div> 
        <div style="width:100%;position:absolute;top:0;left:0;">
            <div id="bannerCtn" style="overflow:hidden;">
                <div id="absoluteTitleCtn" class="ub-ac hide absolute_title_ctn">
                    <div id="switch" class="uw6 ub ub-ac ub-pc" style="position:absolute;right:0;bottom:0;">
                        <div id="switch0" class="switch" style="left:1.5em;"></div>
                        <div id="switch1" class="switch" style="left:2.5em;"></div>
                        <div id="switch2" class="switch" style="left:3.5em;"></div>
                    </div>
                    <!--<div class="testCtn">测试版本</div>-->
                </div>
                <div id="slide" class="banner_slide ub uh100 ">
                    <div id="focusFirst" class="ub-img7 uw100 uh100" style="background-image:url('../img/banner1.png');"></div>
                    <div id="focusOne" class="ub-img7 uw100 uh100" style="background-image:url('../img/banner2.png');"></div>
                    <div id="focusTwo" class="ub-img7 uw100 uh100" style="background-image:url('../img/banner3.png');"></div>
                </div>
            </div>
        </div>
        <div id="footerCtn" class="ub footerEvent ub-ver" style="position: absolute;bottom: 0;width: 100%;">
        </div>
    </div>
</body>
</html>
<script>
zy_init();
$("#bannerCtn").height($("body").height());
window.uexOnload = function(type){
    if (!type) {
        $ajax({
            url: "/course/listFocus",
            data:{},
            success: function(res) {
               var focuspic = res.result.results;
               for(var i = 0 ; i<focuspic.length; i++){
                   if(focuspic[i].index == 2){
                       $("#focusOne").attr("style","background-image:url('"+Core.IMG_VER+focuspic[i].url+"');");
                   }else if(focuspic[i].index == 3){
                       $("#focusTwo").attr("style","background-image:url('"+Core.IMG_VER+focuspic[i].url+"');");
                   }
               }
            }
        });
        Index.focusPicSet();
        Index.indexInit();
        uexWindow.onKeyPressed=function(keyCode){
            if(keyCode==0){
                uexWidgetOne.exit();
            }
        }
        //监听android的返回键，点返回键则退出应用
        uexWindow.setReportKey(0,1);
        
        
    }
    try {
        uexWindow.setOrientation(1);
    }catch(e) {
         alert(e);
    }  
    
    //隐藏
    uexWindow.setWindowScrollbarVisible(false);
}
</script>